import Cookies from "js-cookie";
// 导入的方式不行。只能通过src的方式
// import { city_name } from "@/../public/config/config.js";
const TokenKey = "Wycms-Admin-Token-" + city_name;

export function getToken() {
  return Cookies.get(TokenKey);
}

export function setToken(token) {
  return Cookies.set(TokenKey, token);
}

export function removeToken() {
  return Cookies.remove(TokenKey);
}
